package hn.sigit.logic.workflow.transaction.impl;

import hn.sigit.logic.viewer.InteractiveViewerHelper;
import hn.sigit.logic.viewer.toolbox.SplitViewerCallable;
import hn.sigit.logic.workflow.transaction.DataEntryHelper;

public class DataEntrySplitViewerCallable extends SplitViewerCallable {
	private static final long serialVersionUID = 1L;
	
	private DataEntryHelper dataEntryHelper;

	public DataEntrySplitViewerCallable(DataEntryHelper dataEntryHelper) {
		this.dataEntryHelper = dataEntryHelper;
	}
	
	@Override
	public void doBorderOperation(
			InteractiveViewerHelper interactiveViewerHelper) {
		super.doBorderOperation(interactiveViewerHelper);
		dataEntryHelper.setRequestedParcels(null);
		dataEntryHelper.setNeighborParcels(null);
	}
}
